<layout name="Public/base" />
<div class="row">
	<include file="Manage/left" />
	<div class="span9">
		<div class="page-main">
			<include file="Manage/appInfo" />
			<div class="title"><h2>{$mini_title} ({$__TOTAL__})</h2></div>
			<div class="content">
				<table class="border striped">
					<thead>
						<tr>
							<th>留言内容</th>
							<th width="120" class="center">留言时间</th>
							<th width="60" class="center">操作</th>
						</tr>
					</thead>
					<tbody>
						<empty name="__LIST__">
						<tr>
							<td colspan="5" class="center">还没有用户关注您的公众号！</td>
						</tr>
						<else/>
						<volist name="__LIST__" id="vo">
						<tr>
							<td>
								<if condition="time() lt ($vo.create_time + 172800)">
									<a href="{:U('sendmsg?appid='.$_GET['appid'].'&msgid='.$vo['id'].'&uid='.$vo['openid'])}">{$vo.content|msubstr=0,33}</a>
								<else/>
									<a href="{:U('look?appid='.$_GET['appid'].'&msgid='.$vo['id'])}">{$vo.content|msubstr=0,33}</a>
								</if>
							</td>
							<td class="center">{$vo.create_time|time_format}</td>
							<td class="center">
								<if condition="time() lt ($vo.create_time + 172800)">
									<a class="btn btn-success" href="{:U('sendmsg?appid='.$_GET['appid'].'&msgid='.$vo['id'].'&uid='.$vo['openid'])}">回复</a>
								</if>
							</td>
						</tr>
						</volist>
						</empty>
					</tbody>
				</table>
				<div class='pagination'>
					{$__PAGE__}
				</div>
			</div>
		</div>
	</div>
</div>